package com.leco.demo.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @author greg
 * @version 2022/9/22
 **/
@Data
public class Blog {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer authorId;
    private Date addTime;
    private Date updateTime;
    private String title;
}
